<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?php include "../controller/member_creat_notice.php" ;?>
    <?php include 'modules/head.php'; ?>
    <?php include '../asset/css.css?version=20231107'; ?>

</head>

<body id="top">

<?php include 'modules/header.php'; ?>




<div class="mui-content member_creat_notice">

    <div class="message-list">
    <ul class="mui-table-view ">
        <?
        if(count($message)<2)
        {?>
        <li class="mui-table-view-cell">网络信号不良，请刷新或重新进入查看信息</li>
        <?}
        ?>

        <li class="mui-table-view-cell"><span>客户：</span> <?echo $member['name']?> <i>(<?echo $message['name']?>)</i></li>
        <li class="mui-table-view-cell"><span>时间：</span>    <div><?echo $message['date']?></div></li>
        <li class="mui-table-view-cell"><span>留言内容：</span> <div><?echo $message['content']?></div></li>
        <li class="mui-table-view-cell"><span>留言翻译：</span> <div><?echo $message['content_translate']?></div></li>
        <li class="mui-table-view-cell"><span>手机号：</span>
            <div><a href="tel:<?echo $member['phone']?>"><?echo $member['phone']?></a></div>
        </li>
        <li class="mui-table-view-cell"><span>个人邮箱：</span>
                                        <div  >
                                            <?if($member['email']){?>
                                            <a href="mailto:<?echo $member['email']?>" ><?echo $member['email']?>
                                            </a>
                                            <?}
                                            else
                                            {?>
                                                无
                                             <? }?>

                                        </div>
            <div><i class="notice">点击邮箱链接，可调用设备邮箱程序进行回复.</i></div>

        </li>
        <li class="mui-table-view-cell"><span>工作邮箱：</span>
            <div>
                <?if($member['work_email']){?>
                    <a href="mailto:<?echo $member['work_email']?>" ><?echo $member['work_email']?>
                    </a>
                <?}
                else
                {?>
                    无
                <? }?>
            </div>
            <div><i class="notice">点击邮箱链接，可调用设备邮箱程序进行回复.</i></div>
        </li>
        <li class="mui-table-view-cell"><span>所属单位：</span> <div><?echo $unit['name']?></div></li>
        <li class="mui-table-view-cell"><span>国家：</span>    <div><?echo $country?></div></li>
        <li class="mui-table-view-cell"><span>来源：</span>    <div><?echo $_REQUEST['athloncode']?></div></li>
    </ul>
    </div>


<?if($_REQUEST['mode']){?>
    <form id="arrange-employee-form" method="post"
          action="member_creat_notice_function.php"
          enctype="multipart/form-data">

        <h4>请安排业务跟进当前客户</h4>
        <ul class="mui-table-view employees">
                <?foreach ($employee_static as $k=>$v){?>
                    <li class="mui-table-view-cell" >
                        <div class="mui-input-row mui-radio">
                            <label><?echo $v['name'] ?> ( <?echo $v['sum']?> ) </label>
                            <input name="ai_agentnid" type="radio" value="<?echo $v['nid'] ?>" checked>
                        </div>
                    </li>
                    <input name="membernid" type="hidden" value="<?echo $message['membernid'] ?>">
                    <input name="athloncode" type="hidden"  value="<?echo $_REQUEST['athloncode'] ?>">
                    <?;}?>

        </ul>

<br class="clearfloat"/>
        <div class="function"><button type="submit" class="mui-btn mui-btn-primary"> 提交 </button> </div>
    </form>

</div>
<?;}?>

<script src="/application/mui/js/mui.min.js"></script>


</body>
</html>
